package com.audaque.springboot.foshanupload.web.webdemo.model.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Slf4j
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Person implements Serializable {

    private static final long serialVersionUID = 1432869280063623390L;
    private String describe;
    private String id;
    private String name;
    private int age;
    private BigDecimal source;
    private double height;
    private Date createTime;
    private Date birthDate;
    private Country personCountry;
    private String family;
    private long salary;

   private class Child {
        private String id;
        private String name;
        public String test(String param1,String param2) {
            log.info("test" + param1+param2);
            return "test" + param1+param2;
        }
    }

    public String test() {
        log.info("test");
        return "test";
    }

    public String test(String param) {
        log.info("test" + param);
        return "test" + param;
    }
}
